var express = require('express');
var router = express.Router();
var liveController = require("../../api/v2.0/admin/live_admin_controller");

router.get('/', liveController.getListPage);//直播

router.get('/:id', liveController.getLiveById);//直播ID查询

router.post('/', liveController.addLives);//添加

router.post('/:id', liveController.updateLives);//修改

router.delete('/', liveController.deleteLive);//删除

module.exports = router;